<titlemenu></titlemenu>
<div class="dj-list">
    <div class="dj-list-body">

        <div class="dj-list-content content1">
            <div class="card">
                <div class="body">
                    <div panel-title data-title="arrangeTitle">
                    </div>
                    <div panel-title data-title="arrangeTitle2">
                    </div>
                    <div class="table-responsive list-table-panel" >
                        <table class="table-bordered  js-basic-example dataTable" style="width: 100%;max-width: 100%;margin-bottom: 20px;">
                            <thead>
                            <th>考核类型</th>
                            <th>评分人</th>
                            <th>所属组织</th>
                            <th>评分</th>
                            <th>平均分</th>
                            <th>权重</th>
                            <th>权重分</th>
                            <th>合计评分</th>
                            </thead>
                            <tbody >
                            <tr ng-repeat-start="type in dataList">
                                <td rowspan="{{type.userNum}}" >{{type.checkType}}</td>
                                <td class="text-center">
                                    <a ng-if="type.checkType=='自评'||type.checkType=='特色项目'" class="tooltips" href="javascript:void(0);" ng-click="showUserScore(type.userList[0].userId,type.checkType)"> {{type.userList[0].userName}}</a>
                                    <span ng-if="type.checkType!='自评'&&type.checkType!='特色项目'">{{type.userList[0].userName}}</span>
                                </td>
                                <td class="text-center">{{type.userList[0].DZZMC}}</td>
                                <td class="text-center">{{type.userList[0].score}}</td>
                                <td class="text-center" rowspan="{{type.userNum}}">{{type.avgScore}}</td>
                                <td class="text-center" rowspan="{{type.userNum}}">{{type.weight}}%</td>
                                <td class="text-center" rowspan="{{type.userNum}}"> {{type.resultScore}}</td>
                                <td class="text-center" rowspan="999" ng-if="$first">{{totalResultScore}}</td>
                            </tr>
                            <tr ng-repeat="it in type.userList" ng-if="!$first">
                                <td class="text-center">
                                    <a ng-if="type.checkType=='自评'||type.checkType=='特色项目'" class="tooltips" href="javascript:void(0);" ng-click="showUserScore(it.userId,type.checkType)"> {{it.userName}}</a>
                                    <span ng-if="type.checkType!='自评'&&type.checkType!='特色项目'">{{it.userName}}</span>
                                </td>
                                <td class="text-center">{{it.DZZMC}}</td>
                                <td class="text-center">{{it.score}}</td>
                            </tr>
                            <tr ng-if="false"  ng-repeat-end></tr>
                            <tr ng-if="dataList.length==0">
                                <td colspan="10" style="text-align:center">暂无数据</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="form_foot">
                        <button type="button" class="btn btn-default" ng-click="pagechange();">取消</button>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>
